package com.dq.demo.util;

import android.os.Build;
import android.os.Environment;

public class Constant {

    private static String PATH = Environment.getExternalStorageDirectory()
            .getAbsolutePath() + "/";

    //private static String SDPATH = StorageUtils.getFileSavePath(App.context) + "/";

    public static String getDCIM() {
        return getPath() + "DCIM";
    }

    public static String getPath() {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
//            String sdPath = StorageUtils.getStoragePath(App.context);
//            if (sdPath == null) {
//                return PATH;
//            }
            return PATH;
        } else {
            return PATH;
        }
        //return SDPATH;
    }

    public static final String CH_ID = "";
    public static final String CP_ID = "";
}
